﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Numerics;

namespace Fractalz.FractalModels.ComplexAlgorithms
{
	class Mandel : IComplexAlgorithm
	{

		public Complex compute(Complex z, Complex c)
		{
			return Complex.Pow(z, 2) + c;
		}

		public AlgorithmType getType()
		{
			return AlgorithmType.Mandel;
		}

		public void parse(string expressionString)
		{
			throw new NotImplementedException();
		}
	}
}
